<!--/**
* @author xuyh0817
* @email xuyh0817@foxmail.com
* @date 2022-02-16 15:58
* @version 2.0.0
* @doc todo
* @website todo
* @remark  如果要分发源码，需在本文件顶部保留此文件头信息！！
*/
-->
<template>
  <div class="x-render-error">
    未找到当前 {{ type }} 类型组件，请确认<br>
    {{ formItem.label }} : {{ formItem.prop }}
  </div>
</template>

<script>
import ComponentMixin from '../../XRenderMixins/XRenderComponentMixin'
import {COMPONENT_TYPE} from '../../constants'

export default {
  name: COMPONENT_TYPE.ERROR,
  mixins: [ComponentMixin],
  props: {
    type: {
      type: String
    }
  }
}
</script>

<style scoped lang="css">
.x-render-error {
  color: #f44;
  font-size: 18px;
}
</style>
